#include "log.hpp"

void test1()
{
    //Log log(ONEFILE);
    Log log(MULTIFILE);
    //log.clear();
    log(LOG, "noraml, file:%s line:%d", __FILE__, __LINE__);
    log(LOG, "noraml, file:%s line:%d", __FILE__, __LINE__);
    log(WARNING, "what fuck?? file:%s line:%d", __FILE__, __LINE__);
    log(WARNING, "what fuck?? file:%s line:%d", __FILE__, __LINE__);
    log(ERROR, "what fuck?? file:%s line:%d", __FILE__, __LINE__);
    log(ERROR, "what fuck?? file:%s line:%d", __FILE__, __LINE__);
    log(FATAL, "what fuck?? file:%s line:%d", __FILE__, __LINE__);
    log(FATAL, "what fuck?? file:%s line:%d", __FILE__, __LINE__);
}

int main()
{
    test1();
    return 0;
}